package com.lpwa.system.domain;


import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报警规则配置表 alarm_rule_config
 * 
 * @author tanmu
 * @date 2019-07-03
 */
public class AlarmRuleConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long id;
	/** SOS报警 */
	private Integer sosAlarm;
	/** 摘除报警 */
	private Integer removeAlarm;
	/** 心率异常报警 */
	private Integer heartRateAlarm;
	/** 低电报警 */
	private Integer lowVoltageAlarm;
	/** 区域报警 */
	private Integer areaAlarm;
	/** 心率阈值下限 */
	private Integer heartMin;
	/** 心率阈值上限 */
	private Integer heartMax;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setSosAlarm(Integer sosAlarm) 
	{
		this.sosAlarm = sosAlarm;
	}

	public Integer getSosAlarm() 
	{
		return sosAlarm;
	}
	public void setRemoveAlarm(Integer removeAlarm) 
	{
		this.removeAlarm = removeAlarm;
	}

	public Integer getRemoveAlarm() 
	{
		return removeAlarm;
	}
	public void setHeartRateAlarm(Integer heartRateAlarm) 
	{
		this.heartRateAlarm = heartRateAlarm;
	}

	public Integer getHeartRateAlarm() 
	{
		return heartRateAlarm;
	}
	public void setLowVoltageAlarm(Integer lowVoltageAlarm) 
	{
		this.lowVoltageAlarm = lowVoltageAlarm;
	}

	public Integer getLowVoltageAlarm() 
	{
		return lowVoltageAlarm;
	}
	public void setAreaAlarm(Integer areaAlarm) 
	{
		this.areaAlarm = areaAlarm;
	}

	public Integer getAreaAlarm() 
	{
		return areaAlarm;
	}
	public void setHeartMin(Integer heartMin) 
	{
		this.heartMin = heartMin;
	}

	public Integer getHeartMin() 
	{
		return heartMin;
	}
	public void setHeartMax(Integer heartMax) 
	{
		this.heartMax = heartMax;
	}

	public Integer getHeartMax() 
	{
		return heartMax;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sosAlarm", getSosAlarm())
            .append("removeAlarm", getRemoveAlarm())
            .append("heartRateAlarm", getHeartRateAlarm())
            .append("lowVoltageAlarm", getLowVoltageAlarm())
            .append("areaAlarm", getAreaAlarm())
            .append("heartMin", getHeartMin())
            .append("heartMax", getHeartMax())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
